package org.wiztools.te.plugin;

import org.wiztools.te.TEMod;
import org.wiztools.te.TEProcessAdapter;

public class ToUpperCase extends TEProcessAdapter{
	private TEMod tem;
	public void setTEMod(TEMod tem){
		this.tem = tem;
	}
	
	public void action(){
		String str = tem.getSelectedText();
		if(str==null || str.equals("")){
			return;
		}
		tem.replaceSelection(str.toUpperCase());
	}
}
